package net.hn.hnms.biz.emgcy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.hn.hnms.biz.emgcy.domain.RescueTeamPo;
import net.hn.hnms.biz.emgcy.domain.dto.ResuceTeamDto;
import net.hn.hnms.biz.emgcy.domain.vo.ResuceTeamVo;
import net.hn.hnms.sys.common.core.domain.ResponsePage;
import net.hn.hnms.sys.common.mybatis.core.page.PageQuery;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface RescueTeamService extends IService <RescueTeamPo> {
    ResponsePage<ResuceTeamVo> pageList(PageQuery pageQuery, ResuceTeamDto resuceTeamDto);

    Boolean add(RescueTeamPo rescueTeamPo);

    Boolean update(RescueTeamPo rescueTeamPo);

    Boolean delete(Long id);

    void export(HttpServletResponse httpServletResponse) throws IOException;
}
